package cn.sunjinxin.trade.application.work.node;


import cn.sunjinxin.trade.application.work.pipeline.ProductValidateWorkHandler;
import cn.sunjinxin.trade.application.work.pipeline.ProductValidateWorkHandlerContext;
import cn.sunjinxin.trade.client.api.request.OrderRequest;
import cn.sunjinxin.trade.domain.model.ProductSpu;

/**
 * @author issavior
 */
public class ProductBusinessValidateNode implements ProductValidateWorkHandler {

    @Override
    public void validate(ProductSpu productSpu, OrderRequest request, ProductValidateWorkHandlerContext productValidateWorkHandlerContext) {

        productValidateWorkHandlerContext.validate(productSpu, request);
    }
}
